<template>
    <div>
        <h2>博文列表</h2>
        id: {{id}}
    </div>
</template>

<script>
    export default {
        name:'Posts',
        props:['id'],
        created(){
            console.log(this.$route);
        }
    }

</script>

<style lang="less" scoped>

</style>